export default {
  path: "/freightInquiry",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "货代询价",
    rank: 10
  },
  children: [
    {
      path: "/freightInquiry/list",
      name: "freightInquiryList",
      component: () => import("@/views/freightInquiry/index.vue"),
      meta: {
        title: "货代询价",
        roles: ["freight"],
        showParent:true
      }
    },
    {
      path: "/freightInquiry/add",
      name: "freightInquiryAdd",
      component: () => import("@/views/freightInquiry/AddFreightInquiry.vue"),
      meta: {
        title: "添加货代询价",
        showLink: false,
        roles: ["freight"]
      }
    },
    {
      path: "/freightInquiry/update",
      name: "freightInquiryUpdate",
      component: () => import("@/views/freightInquiry/UpdateFreightInquiry.vue"),
      meta: {
        title: "修改货代询价",
        showLink: false
      }
    },
    {
      path: "/Updateshipping",
      name: "Updateshipping",
      component: () => import("@/views/freightInquiry/Updateshipping.vue"),
      meta: {
        title: "更新出运",
        showLink: true,
        roles: ["freight"]
      }
    },
    {
      path: "/freightQuote/list",
      name: "freightQuoteList",
      component: () => import("@/views/freightInquiry/quoteindex.vue"),
      meta: {
        title: "报价记录",
        showLink: true,
        roles: ["freight"]
      }
    },
    {
      path: "/Quotedetails",
      name: "Quotedetails",
      component: () => import("@/views/freightInquiry/Quotedetails.vue"),
      meta: {
        title: "报价详情",
        showLink: true,
        roles: ["freight"]
      }
    }
  ]
} satisfies RouteConfigsTable;